package com.wdc.deliveryrobot.event;


/**
 * @Author: tianHuiDa
 * @Date: 2024/11/20
 * @Description: 送物
 */
public class RobotSendEvent {

    public static final int PREPARE = 2;  //准备开始任务

    public static final int STOP = -1;
    public static final int NOT_CONNECT = -2;

    public static final int HAS_TASK = 1;  //当前有任务执行

    public static final int ARRIVE = 3; //到达

    public static final int FAIL = 4; //失败

    public static final int SUCCESS = 5;

    public static final int DONE = 6;
    public static final int NOT_DONE = 7;

    public static final int CANCEL = 8;
    public static final int GATE_OPEN = 10;
    public static final int NO_POINT = 11;


    private int state;




    public RobotSendEvent(int state){
        this.state = state;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
